package model;

/**
 * This Class is a registration user Model.
 *
 * @author Dmitry
 */
public class UnregisteredUser {
	
	/** The fname. */
	private String fname;
	
	/** The lname. */
	private String lname;
	
	/** The password. */
	private String password;
	
	/** The email. */
	private String email;
	
	/** The phone. */
	private String phone;
	
	/** The address. */
	private String address;
	
	/**
	 * Instantiates a new unregistered user default contractor.
	 */
	public UnregisteredUser(){
		
	}
	
	/**
	 * Instantiates a new unregistered user with its personal details.
	 *
	 * @param fname person's first name
	 * @param lname person's last name
	 * @param password person's requested password
	 * @param email person's email
	 * @param phone person's phone
	 * @param address person's address
	 */
	public UnregisteredUser(String fname,String lname,String password,String email,String phone,String address)
	{
		this.fname = fname;
		this.lname = lname;
		this.password = password;
		this.email = email;
		this.phone = phone;
		this.address = address;
	}

	
	/**
	 * Gets the address.
	 *
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * Sets the address.
	 *
	 * @param address the new address
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * Gets the fname.
	 *
	 * @return the fname
	 */
	public String getFname() {
		return fname;
	}

	/**
	 * Sets the fname.
	 *
	 * @param fname the new fname
	 */
	public void setFname(String fname) {
		this.fname = fname;
	}

	/**
	 * Gets the lname.
	 *
	 * @return the lname
	 */
	public String getLname() {
		return lname;
	}

	/**
	 * Sets the lname.
	 *
	 * @param lname the new lname
	 */
	public void setLname(String lname) {
		this.lname = lname;
	}

	/**
	 * Gets the password.
	 *
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * Sets the password.
	 *
	 * @param password the new password
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * Gets the email.
	 *
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * Sets the email.
	 *
	 * @param email the new email
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * Gets the phone.
	 *
	 * @return the phone
	 */
	public String getPhone() {
		return phone;
	}

	/**
	 * Sets the phone.
	 *
	 * @param phone the new phone
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}

	
	public String toString(){
		return "Fname:   "+ getFname() + "\nLname:  " + getLname() + "\nPassword:  " + getPassword() + "\n Email: " + getEmail() + "\nPhone:  " + getPhone() + "\nAddress:  " + getAddress();
	}
	
}
